<div class="topnav">
		<div class="topnav_bd w1210 bc">
			<div class="topnav_left">
				
			</div>
			<div class="topnav_right fr">
				<ul>
                <?php if(!empty($_SESSION['user_id'])){?>
					<li>您好，欢迎来到京西！[<?php echo $_SESSION['username']?>] [<a href="<?php echo U('User/logout')?>">退出</a>] </li>
                <?php }else {?>
                    <li>您好，欢迎来到京西！[<a href="<?php echo U('User/login')?>">登录</a>] [<a href="<?php echo U('User/register')?>">免费注册</a>] </li>
                <?php }?>
					<li class="line">|</li>
					<li>我的订单</li>
					<li class="line">|</li>
					<li>客户服务</li>
				</ul>
			</div>
		</div>
	</div>